'Declaration
<ExtensionAttribute()> Public Overloads Shared Function CanSort(Of T As Class)( _ ByVal collectionView As ICollectionView(Of T), _ ByVal ParamArray sortDescriptions() As SortDescription _ ) As Boolean
'Usage
Dim collectionView As ICollectionView(Of T) Dim sortDescriptions() As SortDescription Dim value As Boolean value = ICollectionViewEx.CanSort(Of T)(collectionView, sortDescriptions)
[Extension()] public static bool CanSort<T>( ICollectionView<T> collectionView, params SortDescription[] sortDescriptions ) where T: class
Parameters
- collectionView
- The collection view.
- sortDescriptions
- The sort descriptions that determine how the data would be sort.
Type Parameters
- T